Total Complexity | 20 |
Dependencies | 0 |
Dependents | 4 |
Total lines | 175 |
Lines of code | 70 |
Logical lines of code | 33 |
Comment lines | 83 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_catalog_mode_data_by_product() | 56 | 6 | 17 | |
get_vendor_catalog_mode_settings() | 62 | 3 | 12 | |
is_enabled_by_vendor() | 71 | 2 | 6 | |
hide_product_price_option_is_enabled_by_vendor() | 68 | 2 | 7 | |
hide_add_to_cart_button_option_is_enabled_by_vendor() | 68 | 2 | 7 | |
is_enabled_by_admin() | 80 | 1 | 3 | |
hide_product_price_option_is_enabled_by_admin() | 78 | 1 | 3 | |
hide_add_to_cart_button_option_is_enabled_by_admin() | 78 | 1 | 3 | |
get_defaults() | 68 | 1 | 8 | |
is_enabled_for_product() | 74 | 1 | 4 |